#include <memory>
#include "TCPClient.hpp"

int main(int argc,char* argv[])
{
    if(argc!=3)
    {
        std::cout<<"Usgae Error"<<std::endl;
        exit(-1);
    }
    std::string ip=argv[1];
    uint16_t port=std::stoi(argv[2]);
    std::unique_ptr<TCPClient> c_ptr=std::make_unique<TCPClient>(ip,port);
    c_ptr->Run();
    return 0;
}